<!DOCTYPE html>
<div style="width: 400px;">
    <table border=1>
        <tr>
            <td width="14" id="first" data-expected-width=18></td>
            <td>M</td>
            <td>
               Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text    
            </td>
            <td>
                Text Text
            </td>
        </tr>
        <tr>
            <td width="14" id="first" data-expected-width=18></td>
            <td>M</td>
            <td>
               Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text    
            </td>
            <td>
                Text Text
            </td>
        </tr>
    </table>
</div>
<div id="test-output"></div>
<div> crbug.com/504124: overallocating width unwinds correctly on auto width cells
<script src="../../resources/check-layout.js"></script>
<script>
    window.checkLayout("#first", document.getElementById("test-output"));
</script>
